
package com.insigma.business.qrcode.soldier._bff;




import com.insigma.business.qrcode.common.annotation.ApiServiceType;
import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsDTO;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsInsertRequest;
import com.insigma.business.qrcode.soldier.dto.PlacementPbNewsUpdateRequest;
import com.insigma.business.qrcode.soldier.dto.SimpleApiRequest;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.service.impl.PlacementPbNewsSearchRequest;

import java.util.List;


public interface PlacementPbNewsBFFProvider {

    
    @ApiServiceType(value = "all.ss.placement.news.search", name = "查询数据列表", desc = "查询数据列表")
    BasePagingResponse<List<PlacementPbNewsDTO>> searchPlacementPbNews(final PlacementPbNewsSearchRequest placementPbNewsSearchRequest);

    
    @ApiServiceType(value = "all.ss.placement.news.view", name = "查询数据列表", desc = "查询数据列表")
    BaseResponse<PlacementPbNewsDTO> getPlacementPbNews(final BaseGetRequest baseGetRequest);

    
    @ApiServiceType(value = "gov.ss.placement.news.insert", name = "插入数据", desc = "插入数据", opsLog = "安置")
    BaseResponse<String> insertPlacementPbNews(final PlacementPbNewsInsertRequest placementPbNewsInsertRequest);

    
    @ApiServiceType(value = "gov.ss.placement.news.update", name = "更新数据", desc = "更新数据", opsLog = "安置")
    BaseResponse<Integer> updatePlacementPbNews(final PlacementPbNewsUpdateRequest placementPbNewsUpdateRequest);

    
    @ApiServiceType(value = "gov.ss.placement.news.delete", name = "删除数据", desc = "删除数据", opsLog = "安置")
    BaseResponse<Integer> deletePlacementPbNews(final BaseDeleteRequest deleteRequest);
    
    @ApiServiceType(value = "all.ss.placement.news.like", name = "是否喜欢新闻", desc = "是否喜欢新闻")
    BaseResponse<Integer> likeNews(SimpleApiRequest request);

    
    @ApiServiceType(value = "gov.ss.placement.news.publish", name = "发布和取消发布", desc = "发布和取消发布", opsLog = "安置")
    BaseResponse<Integer> publishNews(PlacementPbNewsUpdateRequest request);

}
